package day1;

import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class ArrayTest {
	public static void main(String[] args) {
		
		
		String[] a = {"A","b","c","d","e","f","g","h","i"};
		Set<String> set = new HashSet<String>();
		
		List<String> asList = Arrays.asList(a);
		set.addAll(asList);
		System.out.println(Arrays.asList(set.toArray()).toString());
		
		Object[] array = set.toArray();
		
	}
}
